<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewUsedTimeTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_id}"/>
                    <h:outputText value="#{usedTimeController.selected.id}" title="#{bundle.ViewUsedTimeTitle_id}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_dia}"/>
                    <h:outputText value="#{usedTimeController.selected.dia}" title="#{bundle.ViewUsedTimeTitle_dia}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_regIni}"/>
                    <h:outputText value="#{usedTimeController.selected.regIni}" title="#{bundle.ViewUsedTimeTitle_regIni}">
                        <f:convertDateTime pattern="HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_regFin}"/>
                    <h:outputText value="#{usedTimeController.selected.regFin}" title="#{bundle.ViewUsedTimeTitle_regFin}">
                        <f:convertDateTime pattern="HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_regInter}"/>
                    <h:outputText value="#{usedTimeController.selected.regInter}" title="#{bundle.ViewUsedTimeTitle_regInter}">
                        <f:convertDateTime pattern="HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_servicio}"/>
                    <h:outputText value="#{usedTimeController.selected.servicio}" title="#{bundle.ViewUsedTimeTitle_servicio}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_tarea}"/>
                    <h:outputText value="#{usedTimeController.selected.tarea}" title="#{bundle.ViewUsedTimeTitle_tarea}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_ubic}"/>
                    <h:outputText value="#{usedTimeController.selected.ubic}" title="#{bundle.ViewUsedTimeTitle_ubic}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_esFact}"/>
                    <h:outputText value="#{usedTimeController.selected.esFact}" title="#{bundle.ViewUsedTimeTitle_esFact}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_tipoHora}"/>
                    <h:outputText value="#{usedTimeController.selected.tipoHora}" title="#{bundle.ViewUsedTimeTitle_tipoHora}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_descrip}"/>
                    <h:outputText value="#{usedTimeController.selected.descrip}" title="#{bundle.ViewUsedTimeTitle_descrip}"/>
                    <h:outputText value="#{bundle.ViewUsedTimeLabel_comentario}"/>
                    <h:outputText value="#{usedTimeController.selected.comentario}" title="#{bundle.ViewUsedTimeTitle_comentario}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{usedTimeController.destroyAndView}" value="#{bundle.ViewUsedTimeDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewUsedTimeEditLink}"/>
                <br />
                <h:commandLink action="#{usedTimeController.prepareCreate}" value="#{bundle.ViewUsedTimeCreateLink}" />
                <br />
                <h:commandLink action="#{usedTimeController.prepareList}" value="#{bundle.ViewUsedTimeShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewUsedTimeIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
